<table width="100%" style="border-left: 1px dashed grey;background-color: lightyellow;">
<TR>
	<TH>Campaign ID</TH>
	<TH>Title of Newsletter</TH>
	<TH>Use Salutation</TH>
</TR>

<TMPL_LOOP name=CAMPAIGNS>
<TR>
	<TD><TMPL_VAR name=campaign_id></TD>
	<TD><TMPL_VAR name=title></TD>
	<TD><input onChange="SetUseSalutation(this.value);" id=use_salutation type=checkbox value=<TMPL_VAR name=USE_SALUTATION>></TD>
</TR>
</TMPL_LOOP>
</table>

<script>

function SetUseSalutation(use_salutation_value)
{
	URL = "Campaigns";

	if ($('use_salutation').checked == 'false')
		use_salutation = 1;
	else
		use_salutation = 0;

	PARAMS = "use_salutation=" + use_salutation_value;
// 	alert(URL + '?' + PARAMS);
}

</script>